package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 语音接收
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sound_receive")
public class SoundReceive implements Serializable {
    private ObjectId id; //主键id
    private Long userId; //接收的用户id
    private Long userSendId; //发送的用户id
    private ObjectId soundId; //音频id
    private Boolean isLike = null; //是否喜欢
    private Long created; //创建时间
}
